home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 24
/
PC Gamer IT CD 24 1-2.iso
/
PATCHES
/
ZNPATCH.EXE
/
ZNPatch
/
Addon
/
subpatch.zfs
/
cb10.scr
< prev
next >
Wrap
Text File
|
1997-06-04
|
6KB
|
156 lines
# THIS SCRIPT WAS GENERATED ON 03-16-1996 AT 06:32:26
world C # Castle
room B # Entrance Hall
nodeview 10 # Nodeview 10 (536)
# SCRIPT VERSION: 24.2
puzzle:26999 { # AUTO-PRELOAD-OF-ANIMATION
results {
action:animpreload:27000(cb10s11c.rlf 1 0 0 15)
}
flags {
DO_ME_NOW
ONCE_PER_INST
}
}
# PUZZLES
puzzle:8273 { # cb 10-20_nav
criteria {
[8272] = 1 # cb 10-20
}
results {
action:assign(8272, 0) # cb 10-20
action:dissolve
event:change_location(C,B,20,370)
}
flags {
ONCE_PER_INST
}
}
puzzle:8274 { # cb10 Up/Down pzl
criteria {
[8276] = 1 # cb10 Lever a
}
criteria {
[8277] = 1 # cb10 Lever b
}
results {
action:assign(8276, 0) # cb10 Lever a
action:assign(8277, 0) # cb10 Lever b
event:change_location(C,B,1E,0)
}
flags {
ONCE_PER_INST
}
}
puzzle:8279 { # cb10 Repeat Globe
criteria {
[11420] = 2 # cb10 Planet anim
}
results {
action:assign(8279, 0) # cb10 Repeat Globe
background:playpreload:11420(27000 482 151 545 230 0 29 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:8284 { # CB10 - goTemple_nav 2
criteria {
[12207] = 2 # CB10 - goTemple_nav 1_Timer
}
results {
action:assign(12207, 0) # CB10 - goTemple_nav 1_Timer
action:assign(8284, 0) # CB10 - goTemple_nav 2
action:dissolve
event:change_location(T,Z,2E,0)
}
flags {
ONCE_PER_INST
}
}
puzzle:8285 { # INITIAL CB10 (down)
criteria {
[8278] = 1 # cb10 Loc (up/down)
}
results {
action:assign(8286, 1) # INITIAL CB10 (up)
action:assign(8279, 1) # cb10 Repeat Globe
action:set_screen(cb10s21c.tga)
action:enable_control(8272) # cb 10-20
action:disable_control(8283) # cba0 Planet
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:8286 { # INITIAL CB10 (up)
criteria {
[8278] = 0 # cb10 Loc (up/down)
}
results {
action:assign(11420, 2) # cb10 Planet anim
action:set_screen(cb10s11c.tga)
action:disable_control(8272) # cb 10-20
action:enable_control(8283) # cba0 Planet
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:11847 { # cba0 goTemple_ted
criteria {
[10742] > 0 # G_C_TEDcontroller
[8283] = 1 # cba0 Planet
}
results {
action:assign(8283, 0) # cba0 Planet
action:assign(10656, 666) # G_C_TEDalerts
}
flags {
ONCE_PER_INST
}
}
puzzle:12206 { # CB10 - goTemple_nav 1
criteria {
[10742] = 0 # G_C_TEDcontroller
[8283] = 1 # cba0 Planet
}
results {
action:assign(8283, 0) # cba0 Planet
action:assign(12206, 0) # CB10 - goTemple_nav 1
background:timer:12207(10)
background:music:12208(0 cb10h1tc.raw 0)
}
flags {
ONCE_PER_INST
}
}
# CONTROLS
control:8272 push_toggle { # cb 10-20
warp_hotspot(434,97,89,217)
cursor(forward)
}
control:8276 push_toggle { # cb10 Lever a
warp_hotspot(320,124,76,106)
cursor(active)
}
control:8277 push_toggle { # cb10 Lever b
warp_hotspot(320,120,80,110)
cursor(active)
}
# state 8278 has been reserved as a global variable (cb10 Loc (up/down))
control:8283 push_toggle { # cba0 Planet
warp_hotspot(460,150,100,95)
cursor(active)
}
# AUTO-BACKWARDS PUZZLES AND CONTROLS
control:25500 pana {
angle(24.74)
linscale(0.66)
}